package com.czjtxy.extraTerm.server;

import com.czjtxy.extraTerm.entity.DO.Tjob;

import java.sql.SQLException;
import java.util.List;

/**
 * @program: staff-house
 * @author: MingYi
 * @create: 2021/07/01 16:04
 */
public interface JobService {
    List<Tjob> getAll() throws SQLException;

    List<Tjob> getPart(String jobName) throws SQLException;

    Tjob getOne(int uid) throws SQLException;

    void updateJob(Tjob tjob) throws SQLException;

    void deleteJob(String ids) throws SQLException;

    void addJob(Tjob tjob) throws SQLException;
}
